#! /bin/bash

rm maps.bmp
g++ -o a.out maps_gen0.cpp -O2 -L/usr/X11R6/lib -lm -lpthread -lX11
./a.out
rm a.out